package cn.tedu.reflect;

import cn.tedu.annotation.Component;
import cn.tedu.annotation.Value;

@Component
class Point{
    @Value(value=10)
    private int x;
    private int y;
    public Point()
    {
        System.out.println("Point()");
    }

    @Override
    public String toString() {
        return "Point{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }
}